# Lets make sure the output is the same as the APP_NAME
TARGET                               =  $${APP_NAME}
# If we are on Mac, we will build Universal Binaries this way
CONFIG                               +=  x86
CONFIG                               +=  ppc
CONFIG                               -=  embed_manifest_dll
# Setting our Definitions into the build
QMAKE_CXXFLAGS                      +=  -DVER_MAJ=$${VER_MAJ}
QMAKE_CXXFLAGS                      +=  -DVER_MIN=$${VER_MIN}
QMAKE_CXXFLAGS                      +=  -DVER_PAT=$${VER_PAT}
QMAKE_CXXFLAGS                      +=  -DCHECK_FOR_UPDATES=$${CHECK_FOR_UPDATES}
CONFIG(debug, debug|release):{
        QMAKE_CXXFLAGS              +=  -DDEBUG=$${DEBUG}
}
# Don't Need to Edit Below
QT_VERSION                          =   $$[QT_VERSION]
QT_VERSION                          =   $$split(QT_VERSION, ".")
QT_VER_MAJ                          =   $$member(QT_VERSION, 0)
QT_VER_MIN                          =   $$member(QT_VERSION, 1)
lessThan(QT_VER_MAJ, 4)|lessThan(QT_VER_MIN, 5):error($$TARGET requires Qt 4.5 or newer but Qt $$[QT_VERSION] was detected.)
MOC_DIR                             =   Build/$${APP_NAME}/.moc
OBJECTS_DIR                         =   Build/$${APP_NAME}/.obj
UI_DIR                              =   Build/$${APP_NAME}/.ui
